package com.bbzn.device.client.dao.iswitch;

import com.bbzn.device.client.dataobject.Switch;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SwitchMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Switch record);

    int insertOrUpdate(Switch record);

    int insertOrUpdateSelective(Switch record);

    int insertSelective(Switch record);

    Switch selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Switch record);

    int updateByPrimaryKey(Switch record);

    int updateBatch(List<Switch> list);

    int updateBatchSelective(List<Switch> list);

    int batchInsert(@Param("list") List<Switch> list);

    List<Switch> findByAll(Switch record);
}